astar_initialize()
astar_grid(round(room_width/32),round(room_height/32),32,32)
astar_setoptions(0,0,true,true)

/*for (var i=1;i<=round(room_width/32);i+=1)
    {
    for (var j=1;j<=round(room_height/32);j+=1)
        {
        astar_setcellcost(i*32,j*32,irandom_range(-10,10))
        //show_debug_message('(' + string(i*32) + ',' + string(j*32) +') cost set')
        }
    }
